﻿
using Avalonia.Controls.Primitives;

namespace KinonekoSoftware.Foundation.UX.Controls
{
    public class ColorRibbon : TemplatedControl
    {
        public static readonly StyledProperty<Brush> MaskedBrushProperty = AvaloniaProperty.Register<ColorRibbon,Brush>(nameof(MaskedBrush));
        public static readonly StyledProperty<string> TitleProperty = AvaloniaProperty.Register<ColorRibbon,string>(nameof(Title));
        public static readonly StyledProperty<string> ValueProperty = AvaloniaProperty.Register<ColorRibbon,string>(nameof(Value));

        
        public string Value
        {
            get => GetValue(ValueProperty);
            set => SetValue(ValueProperty, value);
        }

        public string Title
        {
            get => GetValue(TitleProperty);
            set => SetValue(TitleProperty, value);
        }

        public Brush MaskedBrush
        {
            get => GetValue(MaskedBrushProperty);
            set => SetValue(MaskedBrushProperty, value);
        }
    }
}